// Exec.h

#ifndef EXEC_H
#define EXEC_H

#include <iostream>
#include <stdio.h>

using namespace std;
 class Exec
 {
 public:
 Exec(){}
 virtual ~Exec(){}
 void Compile(void){
 FILE *in;
#ifdef _WIN32 
 cout<< "WIN32 is defined" << endl;
in=_popen("g++ out.cpp -O3 -o program","r");
#else
cout<< "WIN32 is NOT defined" << endl;
in=popen("g++ out.cpp -O3 -o program","r");
#endif

 
 }
 private:
 }; 
 #endif // EXEC_H
